.class Lcom/example/m6wmr/IntegralParticularActivity$MyAdapter;
.super Landroid/widget/BaseAdapter;
.source "IntegralParticularActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/example/m6wmr/IntegralParticularActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "MyAdapter"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/IntegralParticularActivity;


# direct methods
.method private constructor <init>(Lcom/example/m6wmr/IntegralParticularActivity;)V
    .locals 0

    .prologue
    .line 905
    iput-object p1, p0, Lcom/example/m6wmr/IntegralParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/IntegralParticularActivity;

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/example/m6wmr/IntegralParticularActivity;Lcom/example/m6wmr/IntegralParticularActivity$MyAdapter;)V
    .locals 0

    .prologue
    .line 905
    invoke-direct {p0, p1}, Lcom/example/m6wmr/IntegralParticularActivity$MyAdapter;-><init>(Lcom/example/m6wmr/IntegralParticularActivity;)V

    return-void
.end method


# virtual methods
.method public getCount()I
    .locals 1

    .prologue
    .line 910
    iget-object v0, p0, Lcom/example/m6wmr/IntegralParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/IntegralParticularActivity;

    # getter for: Lcom/example/m6wmr/IntegralParticularActivity;->beans:Ljava/util/ArrayList;
    invoke-static {v0}, Lcom/example/m6wmr/IntegralParticularActivity;->access$13(Lcom/example/m6wmr/IntegralParticularActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    return v0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 1
    .param p1, "arg0"    # I

    .prologue
    .line 916
    iget-object v0, p0, Lcom/example/m6wmr/IntegralParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/IntegralParticularActivity;

    # getter for: Lcom/example/m6wmr/IntegralParticularActivity;->beans:Ljava/util/ArrayList;
    invoke-static {v0}, Lcom/example/m6wmr/IntegralParticularActivity;->access$13(Lcom/example/m6wmr/IntegralParticularActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2
    .param p1, "arg0"    # I

    .prologue
    .line 922
    int-to-long v0, p1

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 4
    .param p1, "arg0"    # I
    .param p2, "arg1"    # Landroid/view/View;
    .param p3, "arg2"    # Landroid/view/ViewGroup;

    .prologue
    const/4 v3, 0x0

    .line 930
    if-nez p2, :cond_0

    .line 931
    new-instance v0, Lcom/example/m6wmr/IntegralParticularActivity$MyHolder;

    invoke-direct {v0, v3}, Lcom/example/m6wmr/IntegralParticularActivity$MyHolder;-><init>(Lcom/example/m6wmr/IntegralParticularActivity$MyHolder;)V

    .line 932
    .local v0, "holder":Lcom/example/m6wmr/IntegralParticularActivity$MyHolder;
    iget-object v1, p0, Lcom/example/m6wmr/IntegralParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/IntegralParticularActivity;

    # getter for: Lcom/example/m6wmr/IntegralParticularActivity;->context:Landroid/content/Context;
    invoke-static {v1}, Lcom/example/m6wmr/IntegralParticularActivity;->access$7(Lcom/example/m6wmr/IntegralParticularActivity;)Landroid/content/Context;

    move-result-object v1

    const v2, 0x7f030072

    invoke-static {v1, v2, v3}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p2

    .line 934
    const v1, 0x7f0c0292

    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v0, Lcom/example/m6wmr/IntegralParticularActivity$MyHolder;->tv_integral:Landroid/widget/TextView;

    .line 935
    const v1, 0x7f0c008e

    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v0, Lcom/example/m6wmr/IntegralParticularActivity$MyHolder;->tv_time:Landroid/widget/TextView;

    .line 936
    const v1, 0x7f0c0293

    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v0, Lcom/example/m6wmr/IntegralParticularActivity$MyHolder;->tv_integral_method:Landroid/widget/TextView;

    .line 937
    const v1, 0x7f0c0291

    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v0, Lcom/example/m6wmr/IntegralParticularActivity$MyHolder;->tv_integral_style:Landroid/widget/TextView;

    .line 939
    invoke-virtual {p2, v0}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    .line 944
    :goto_0
    const-string v2, "PPPPPPPPPPPPPPP"

    iget-object v1, p0, Lcom/example/m6wmr/IntegralParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/IntegralParticularActivity;

    # getter for: Lcom/example/m6wmr/IntegralParticularActivity;->beans:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/example/m6wmr/IntegralParticularActivity;->access$13(Lcom/example/m6wmr/IntegralParticularActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/IntergralParticularBean;

    invoke-virtual {v1}, Lbean/IntergralParticularBean;->getTitle()Ljava/lang/String;

    move-result-object v1

    invoke-static {v2, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 946
    iget-object v2, v0, Lcom/example/m6wmr/IntegralParticularActivity$MyHolder;->tv_integral_style:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/example/m6wmr/IntegralParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/IntegralParticularActivity;

    # getter for: Lcom/example/m6wmr/IntegralParticularActivity;->beans:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/example/m6wmr/IntegralParticularActivity;->access$13(Lcom/example/m6wmr/IntegralParticularActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/IntergralParticularBean;

    invoke-virtual {v1}, Lbean/IntergralParticularBean;->getTitle()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 947
    iget-object v2, v0, Lcom/example/m6wmr/IntegralParticularActivity$MyHolder;->tv_time:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/example/m6wmr/IntegralParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/IntegralParticularActivity;

    # getter for: Lcom/example/m6wmr/IntegralParticularActivity;->beans:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/example/m6wmr/IntegralParticularActivity;->access$13(Lcom/example/m6wmr/IntegralParticularActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/IntergralParticularBean;

    invoke-virtual {v1}, Lbean/IntergralParticularBean;->getAddtime()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 948
    iget-object v2, v0, Lcom/example/m6wmr/IntegralParticularActivity$MyHolder;->tv_integral_method:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/example/m6wmr/IntegralParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/IntegralParticularActivity;

    # getter for: Lcom/example/m6wmr/IntegralParticularActivity;->beans:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/example/m6wmr/IntegralParticularActivity;->access$13(Lcom/example/m6wmr/IntegralParticularActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/IntergralParticularBean;

    invoke-virtual {v1}, Lbean/IntergralParticularBean;->getContent()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 950
    iget-object v1, p0, Lcom/example/m6wmr/IntegralParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/IntegralParticularActivity;

    # getter for: Lcom/example/m6wmr/IntegralParticularActivity;->beans:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/example/m6wmr/IntegralParticularActivity;->access$13(Lcom/example/m6wmr/IntegralParticularActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/IntergralParticularBean;

    invoke-virtual {v1}, Lbean/IntergralParticularBean;->getType()Ljava/lang/String;

    move-result-object v1

    const-string v2, "1"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 951
    iget-object v2, v0, Lcom/example/m6wmr/IntegralParticularActivity$MyHolder;->tv_integral:Landroid/widget/TextView;

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v1, "+"

    invoke-direct {v3, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/example/m6wmr/IntegralParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/IntegralParticularActivity;

    # getter for: Lcom/example/m6wmr/IntegralParticularActivity;->beans:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/example/m6wmr/IntegralParticularActivity;->access$13(Lcom/example/m6wmr/IntegralParticularActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/IntergralParticularBean;

    invoke-virtual {v1}, Lbean/IntergralParticularBean;->getResult()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 952
    iget-object v1, v0, Lcom/example/m6wmr/IntegralParticularActivity$MyHolder;->tv_integral:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/example/m6wmr/IntegralParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/IntegralParticularActivity;

    # getter for: Lcom/example/m6wmr/IntegralParticularActivity;->context:Landroid/content/Context;
    invoke-static {v2}, Lcom/example/m6wmr/IntegralParticularActivity;->access$7(Lcom/example/m6wmr/IntegralParticularActivity;)Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f070022

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getColor(I)I

    move-result v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V

    .line 959
    :goto_1
    return-object p2

    .line 941
    .end local v0    # "holder":Lcom/example/m6wmr/IntegralParticularActivity$MyHolder;
    :cond_0
    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/example/m6wmr/IntegralParticularActivity$MyHolder;

    .restart local v0    # "holder":Lcom/example/m6wmr/IntegralParticularActivity$MyHolder;
    goto/16 :goto_0

    .line 954
    :cond_1
    iget-object v2, v0, Lcom/example/m6wmr/IntegralParticularActivity$MyHolder;->tv_integral:Landroid/widget/TextView;

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v1, "-"

    invoke-direct {v3, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/example/m6wmr/IntegralParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/IntegralParticularActivity;

    # getter for: Lcom/example/m6wmr/IntegralParticularActivity;->beans:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/example/m6wmr/IntegralParticularActivity;->access$13(Lcom/example/m6wmr/IntegralParticularActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/IntergralParticularBean;

    invoke-virtual {v1}, Lbean/IntergralParticularBean;->getResult()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 955
    iget-object v1, v0, Lcom/example/m6wmr/IntegralParticularActivity$MyHolder;->tv_integral:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/example/m6wmr/IntegralParticularActivity$MyAdapter;->this$0:Lcom/example/m6wmr/IntegralParticularActivity;

    # getter for: Lcom/example/m6wmr/IntegralParticularActivity;->context:Landroid/content/Context;
    invoke-static {v2}, Lcom/example/m6wmr/IntegralParticularActivity;->access$7(Lcom/example/m6wmr/IntegralParticularActivity;)Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f07000c

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getColor(I)I

    move-result v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V

    goto :goto_1
.end method
